Reading in Context
Which context shown below will allow you to read data if you are an authenticated user and the data is a gif?
match /{imageId}
allow read: if request.auth != null && request.resource.contentType.matches("images/*")
allow read: if request.auth.uid == userId && request.resource.contentType.matches(".*.gif")
allow read: if request.auth != null && resource.contentType.matches(‘images/*)
allow read: if request.auth != null && imageId.matches(".*.gif")
Next Concept